﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Twi.COMMON.Core;
using Twi.COMMON.Module;
using Twi.DataAccess.Common;
using Twi.DataAccess.OutInterface;

namespace Twi.Modules.TDCP
{
    public class ModuleHelper : TwiModuleHelper, IPageCommon
    {
        public ModuleHelper()
        {

        }
        public override string ConfigConnectionString
        {
            get
            {
                return "TDCPConnectionString";
            }
        }

        public override string MappingTableName
        {
            get
            {
                return "TDCP_TABLEMAPPING";
            }
        }

        public override string SQLMapFullPath
        {
            get
            {
                return TwiPathHelper.MapPath("~/Areas/VISIT/SQLMap/TwiSQLMap.xml");
            }
        }

        public override DBMaxCode MaxCode
        {
            get
            {
                return base.MaxCode;
            }
            set
            {
                base.MaxCode = value;
            }
        }

        public override string WebConfigPath
        {
            get
            {
                return "/Areas/TDCP/Views";
            }
        }

        public static readonly ModuleHelper Instance = new ModuleHelper();

    }
}